﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WeFeTeLib.Zope
{
    class ZopeFramework : Framework
    {
        public ZopeFramework()
            : base()
        {
            name = "Zope";
        }

        public override void setDefaultFiles()
        {
        }

        public override void setDefaultCookies()
        {
            frameworkCookies.Add(new Cookie("zope3", 0));
        }

        public override void setDefaultFolders()
        {
            frameworkFolders.Add(new Folder("@@/", System.Net.HttpStatusCode.OK));
            frameworkFolders.Add(new Folder("manage/", System.Net.HttpStatusCode.Found));
        }

        public override void setDefaultHeaders()
        {
            frameworkHeaders.Add(new Header("X-Powered-By", "Zope", "/"));
            frameworkHeaders.Add(new Header("Bobo-Exception-Value",
                "See the server error log for details", "á"));


        }
    }
}
